package com.jymj;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 主类，程序入口
 *
 * @author lc
 */
@SpringBootApplication
@EnableTransactionManagement
@ImportResource(locations = {"classpath:spring-jdbc.xml"})
@EnableScheduling
@MapperScan("com.jymj.dao")
public class Application {

    public static void main(String args[]) {
        SpringApplication.run(Application.class, args);
    }

}
